package com.itheima.service;

import com.itheima.common.PageBean;
import com.itheima.dto.StudentAddDto;
import com.itheima.dto.StudentQueryDto;
import com.itheima.pojo.Student;

public interface StudentService {
    PageBean query(StudentQueryDto dto);

    void add(StudentAddDto student);

    void deleteid(Integer id);

    Student selectid(Integer id);

    void update(Student student);

    void violation(Integer id, Integer score);
}
